package com.TechMahindra.wx.entity.response;

import java.io.Serializable;

/**
 * token返回对象
 * 
 * @author weican
 */
public class AccessTokenResponse implements Serializable {
	/**
	 * 40091为错误
	 * 0为正确
	 */
	private int errcode;
	/**
	 * 错误消息
	 */
	private String errmsg;
	/**
	 * 获取到的凭证,最长为512字节
	 */
	private String access_token;
	/**
	 * 	凭证的有效时间（秒）
	 */
	private int expires_in;

	public int getErrcode() {
		return errcode;
	}

	public void setErrcode(int errcode) {
		this.errcode = errcode;
	}

	public String getErrmsg() {
		return errmsg;
	}

	public void setErrmsg(String errmsg) {
		this.errmsg = errmsg;
	}

	public String getAccess_token() {
		return access_token;
	}

	public void setAccess_token(String access_token) {
		this.access_token = access_token;
	}

	public int getExpires_in() {
		return expires_in;
	}

	public void setExpires_in(int expires_in) {
		this.expires_in = expires_in;
	}
}
